package com.smart.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smart.entity.Goods;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository//代表持久层
public interface GoodsMapper extends BaseMapper<Goods> {
    List<Goods> findShelfGoods();// 查找上架的商品
    List<Goods> findRemoveGoods();// 查找下架的商品
}
